package com.ibp.service;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.springframework.beans.factory.annotation.Autowired;



public class Quartzservice{
	
	@Autowired
	IbpEventLogDataService IbpEventLogDataServiceImpl;
	
	SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss");
	
	
	public void executeByMinutes(){
		Date date = new Date();
		System.out.println(sdf.format(date)+"每分钟================");
		
	}
	
	
	
	public void executeByHours(){
		Date date = new Date();
		System.out.println(sdf.format(date)+"每小时================");
		
	}
	
	
	public void executeByDay(){
		Date date = new Date();
		System.out.println(sdf.format(date)+"0点================");
		
	}
	

}
